package com.itheima.web.mapper.pms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.vo.pms.Brand;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface PmsBrandMapper extends BaseMapper<Brand> {

    @Insert("insert into mall.pms_brand (name,first_letter,sort,factory_status,show_status,product_count,product_comment_count,logo,big_pic,brand_story) " +
            "values (#{name} , #{firstLetter}, #{sort} ,#{factoryStatus},#{showStatus},#{productCount},#{productCommentCount},#{logo},#{bigPic},#{brandStory})")
    void save(Brand brand);



}
